<!DOCTYPE html>
<head>
  <!-- Standard Meta -->
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

  <!-- Site Properities -->
  <title>Homepage Example - Semantic</title>

  <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Open+Sans:300italic,400,300,700' rel='stylesheet' type='text/css'>

  <link rel="stylesheet" type="text/css" href="packaged/css/semantic.css">
  <link rel="stylesheet" type="text/css" href="packaged/css/homepage.css">

  <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.js"></script>
  <script src="packaged/javascript/semantic.js"></script>
  <script src="packaged/javascript/homepage.js"></script>

</head>
<%@page import="com.dao.SearchUsers, java.util.Date, entities.Users" %>
<% 
%>
<form action ="/update" id="master_form"  method="POST" >
   <div class="ui small form segment" style="height:500px; width:700px" >   
    <div class="two fields">
      <div class="field">
    <label>Name</label>
    <a class="item">
    <div class="ui blue inverted segment"><% out.print(session.getAttribute("Name").toString());%>
    </div>
  </a>
  </div>

  <div class="field">
    <label>Email Address</label>
    <span class="address">
     <div class="ui blue inverted segment"><% out.print(session.getAttribute("Email").toString());%>
     </div>
    </span>
  </div>
</div>
  <h3>Change Your Password</h3>

  <div class="field">
    <label>Current Password</label>
    <input type="Password" name="CurrentPassword" id="password">
  </div>

  <div class="field">
    <label>New Password</label>
    <input type="password" name="NewPassword" id="new_password">
  </div>

  <div class="field">
    <label>Retype New Password</label>
    <input type="password" name="ConfirmNewPassword" id="confirm_password">
  </div>
    <button class="ui blue button" value = "submit" type="submit">Submit</button>
  </div>
</form>
